package dao.v2;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import model.BoardVO;
import model.LogEarnVO;
import model.MemberMsgVO;
import model.OrderGoodVO;
import model.OrderVO;
import model.SysMsgVO;
import model.UorderVO;

public interface MessageVOMapper {
	
	void getTest();

	//我的资产 未读消息冒泡
	int selectMyAssetsReadN(String member_id);
	
	String getSendOrder(String member_id);
	
	String getSendOrderReadN(String member_id);
	
	List<UorderVO> getDeliverAssist(String member_id);
	
	String getGoodImg(String ems_id);
	
	String getEmsName(String order_id);
	
	List<OrderGoodVO> getOrderGoodByOrderId(String order_id);
	
	void updOrderReadY(String member_id);
	
	int getUnReadNum(@Param("cat_id") String cat_id, @Param("member_id") String member_id);
	
	String getLastNoticeTitle(String loadPropertie);
	
	// 我的资产>显示最新一笔收入
	LogEarnVO selectLatestIncome(@Param("member_id")String member_id, @Param("logEarnVO")LogEarnVO logEarnVO);
	
	void saveErrorMsg(@Param("error_msg")String error_msg, @Param("error_url")String error_url, @Param("member_id")String member_id);
	
	List<UorderVO> getCancelOrder(OrderVO order);
	
	int getCancelOrderToTal(OrderVO order);
	
	MemberMsgVO getMemberMsg(String member_id);
	
	void updMemberMsg(@Param("member_id")String member_id, @Param("upd_num")String upd_num);
	
	void resetMemberMsg(@Param("member_id")String member_id, @Param("upd_num")String upd_num);
	
	String getLastCancelOrder(String member_id);

	int getSysMsgTotal(SysMsgVO sys);

	List<SysMsgVO> SysMsg(SysMsgVO sys);

	String getLastSysMsg(String member_id);

	void insertLimitedMsg(@Param("limited_id") String limited_id, @Param("tel") String tel, @Param("member_id") String member_id);

	int checkLimitedMsg(@Param("limited_id") String limited_id, @Param("member_id") String member_id);

	void updateLimitedMsg(@Param("limited_id") String limited_id, @Param("tel") String tel, @Param("member_id") String member_id);

}
